﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://www.onvif.org/ver10/schema"), DebuggerStepThrough, DesignerCategory("code"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class FocusStatus20
    {
        private XmlAttribute[] anyAttrField;
        private string errorField;
        private FocusStatus20Extension extensionField;
        private TestTool.Proxies.Onvif.MoveStatus moveStatusField;
        private float positionField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=2)]
        public string Error
        {
            get
            {
                return this.errorField;
            }
            set
            {
                this.errorField = value;
            }
        }

        [XmlElement(Order=3)]
        public FocusStatus20Extension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=1)]
        public TestTool.Proxies.Onvif.MoveStatus MoveStatus
        {
            get
            {
                return this.moveStatusField;
            }
            set
            {
                this.moveStatusField = value;
            }
        }

        [XmlElement(Order=0)]
        public float Position
        {
            get
            {
                return this.positionField;
            }
            set
            {
                this.positionField = value;
            }
        }
    }
}

